package com.pku.control;

/**
 * [内存]
 * {"id": 36, "mac_code": "b89a2a6a20dd", "total_memory_size": "15.87", "available_size": "8.33",
 * "used_percent": "47.50", "used_size": "7.54", "memory_usage": "7.54", "spare_size": "8.33",
 * "swap_memory_total": "18.25", "swap_used_percent": "64.80", "swap_used_size": "11.82",
 * "swap_memory_usage": "11.82", "swap_spare_size": "6.43", "swap_sin": "0.00", "swap_sout": "0.00"}
 * [说明]
 * id:主键、自增，基本用不上
 * mac_code:mac号码(机器的唯一码),整个系统全靠此码进行关联
 * total_memory_size:内存总共大小
 * available_size:内存可用量
 * used_percent:内存使用率
 * used_size:内存已用量 与使用量相同
 * memory_usage:内存使用量 与已用量相同
 * spare_size:备用或叫剩余量
 * swap_memory_total:虚拟内存总共大小
 * swap_used_percent:虚拟内存使用率
 * swap_used_size:虚拟内存已用量 与虚拟内存使用量相同
 * swap_memory_usage:虚拟内存使用量 与虚拟内存已用量相同
 * swap_spare_size:虚拟内存备用或叫剩余量
 * swap_sin:系统已从磁盘交换入的大小
 * swap_sout:系统已从磁盘交换出的大小
 */
public class MemoryInfo {
    private int id;
    private String mac_code;
    private String total_memory_size;
    private String available_size;
    private String used_percent;
    private String used_size;
    private String memory_usage;
    private String spare_size;
    private String swap_memory_total;
    private String swap_used_percent;
    private String swap_used_size;
    private String swap_memory_usage;
    private String swap_spare_size;
    private String swap_sin;
    private String swap_sout;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMac_code() {
        return mac_code;
    }

    public void setMac_code(String mac_code) {
        this.mac_code = mac_code;
    }

    public String getTotal_memory_size() {
        return total_memory_size;
    }

    public void setTotal_memory_size(String total_memory_size) {
        this.total_memory_size = total_memory_size;
    }

    public String getAvailable_size() {
        return available_size;
    }

    public void setAvailable_size(String available_size) {
        this.available_size = available_size;
    }

    public String getUsed_percent() {
        return used_percent;
    }

    public void setUsed_percent(String used_percent) {
        this.used_percent = used_percent;
    }

    public String getUsed_size() {
        return used_size;
    }

    public void setUsed_size(String used_size) {
        this.used_size = used_size;
    }

    public String getMemory_usage() {
        return memory_usage;
    }

    public void setMemory_usage(String memory_usage) {
        this.memory_usage = memory_usage;
    }

    public String getSpare_size() {
        return spare_size;
    }

    public void setSpare_size(String spare_size) {
        this.spare_size = spare_size;
    }

    public String getSwap_memory_total() {
        return swap_memory_total;
    }

    public void setSwap_memory_total(String swap_memory_total) {
        this.swap_memory_total = swap_memory_total;
    }

    public String getSwap_used_percent() {
        return swap_used_percent;
    }

    public void setSwap_used_percent(String swap_used_percent) {
        this.swap_used_percent = swap_used_percent;
    }

    public String getSwap_used_size() {
        return swap_used_size;
    }

    public void setSwap_used_size(String swap_used_size) {
        this.swap_used_size = swap_used_size;
    }

    public String getSwap_memory_usage() {
        return swap_memory_usage;
    }

    public void setSwap_memory_usage(String swap_memory_usage) {
        this.swap_memory_usage = swap_memory_usage;
    }

    public String getSwap_spare_size() {
        return swap_spare_size;
    }

    public void setSwap_spare_size(String swap_spare_size) {
        this.swap_spare_size = swap_spare_size;
    }

    public String getSwap_sin() {
        return swap_sin;
    }

    public void setSwap_sin(String swap_sin) {
        this.swap_sin = swap_sin;
    }

    public String getSwap_sout() {
        return swap_sout;
    }

    public void setSwap_sout(String swap_sout) {
        this.swap_sout = swap_sout;
    }
}
